<tpl var layoutBody={ />
<div data-identity="base:upload:file" data-table="base_upload_file">
	<div class="layui-breadcrumb">
		<a href="/manage/index.jspx">首页</a>
		<a href="/manage/base/upload/file/index.jspx">文件管理</a>
		<a href="javascript:;">
			<cite>查看</cite>
		</a>
	</div>
	<hr>
	<fieldset class="layui-elem-field">
		<legend>查看 文件管理</legend>
		<div class="layui-field-box">
			<div class="layui-form">
				<div class="layui-form-item nobottom" data-type="varchar" data-isnull="YES" data-name="name">
					<label class="layui-form-label">文件名：</label>
					<div class="layui-form-mid layui-word-aux">${record.name!}</div>
				</div>
				<div class="layui-form-item nobottom" data-type="varchar" data-isnull="NO" data-name="code">
					<label class="layui-form-label">文件编码：</label>
					<div class="layui-form-mid layui-word-aux">
						<span>${record.code!}</span>
						<a href="/down/file/${record.code!}" target="_blank">(点击下载)</a>
					</div>
				</div>
				<div class="layui-form-item nobottom" data-type="bigint" data-isnull="YES" data-name="length">
					<label class="layui-form-label">文件大小：</label>
					<div class="layui-form-mid layui-word-aux">${record.length!} bytes</div>
				</div>
				<div class="layui-form-item nobottom" data-type="varchar" data-isnull="YES" data-name="mime_type">
					<label class="layui-form-label">文件格式：</label>
					<div class="layui-form-mid layui-word-aux">${record.mimeType!}</div>
				</div>
				<div class="layui-form-item nobottom" data-type="varchar" data-isnull="NO" data-name="path">
					<label class="layui-form-label">文件路径：</label>
					<div class="layui-form-mid layui-word-aux">${record.path!}</div>
				</div>
				<div class="layui-form-item nobottom" data-type="datetime" data-isnull="YES" data-name="create_time">
					<label class="layui-form-label">创建时间：</label>
					<div class="layui-form-mid layui-word-aux">${record.createTime!, "yyyy-MM-dd HH:mm:ss"}</div>
				</div>
				<hr>
				<div class="layui-form-item">
					<a class="layui-btn layui-btn-primary" href="javascript:history.go(-1)">返回</a>
				</div>
			</div>
		</div>
	</fieldset>
</div>
<tpl }; />

<tpl var layoutScript={ />
<script type="text/javascript">
	layui.use(['element'], function () {

	});
</script>
<tpl }; />
<tpl include( "../../../tpl/layout-scroll.html" ,{identity: "base:upload:file" ,layoutBody:layoutBody,layoutScript:layoutScript}){} />